package com.chen.vo.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * ClassName: DeptCreateReqVO
 * Package: com.chen.controller.VO.deptVO
 * Description:
 *
 * @Author 陈俊辉
 * @Create 2024/4/11 16:11
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "创建部门的请求参数")
public class DeptCreateReqVO {

    @Schema(name = "name",example = "王者部",description = "创建的部门名字")
    @NotNull(message = "部门名字不能为空")
    private String name;
}
